<template>
  <div>
    <el-card class="box-card">
      <Nature :page="searchPage" />
      
    </el-card>
  </div>
</template>

<script>
import Nature from "../components/nature";
export default {
  //这个组件不能出现在data(){

  //}里面
  components: {
    Nature
  },
  data() {
    return {
      searchPage: [
        {
          type: "city",
          value: {
            province: "province",
            city:"city",
            area:"area"
          }
        },
        {
   
          type: "input",
          value: "value",
          placeholder: "团购名称"
        },

       

        {
          type: "select",
          search: "status",
          placeholder: "请选择状态",
          options: [
            {
              value: "已开团",
              label: "已开团"
            },
            {
              value: "未开团",
              label: "未开团"
            }
          ]
        }
      ]
    };
  }
};
</script>
<style>
</style>